|
AL SET SOUND DIRECTION
This function will set the direction of a sound. It takes 3 values which are put together as a 3D vector telling DarkAL which direction the sound is aiming or looking at. This only used for directional sounds where the outer and inner cone angles have been set.
AL SET SOUND DIRECTION soundNumber, x, y, z
soundNumber
Integer
The ID you want to use to create this sound.
x
Float
The X direction of the sound. This value ranges from -1.0 to 1.0.
y
Float
The Y direction of the sound. This value ranges from -1.0 to 1.0.
z
Float
The Z direction of the sound. This value ranges from -1.0 to 1.0.
This function does not return a value.
|